$OpenBSD: patch-dbus-1_Makefile_in,v 1.14 2015/04/03 08:43:30 ajacoutot Exp $
--- dbus-1/Makefile.in.orig	Mon Mar 23 18:08:53 2015
+++ dbus-1/Makefile.in	Thu Apr  2 20:55:35 2015
@@ -82,7 +82,7 @@ POST_UNINSTALL = :
 DIST_COMMON = $(top_srcdir)/Makefile.gtester $(srcdir)/Makefile.in \
 	$(srcdir)/Makefile.am $(srcdir)/dconf-dbus-1.pc.in \
 	$(top_srcdir)/build-aux/depcomp $(dconf_dbus_1include_HEADERS)
-shlib_PROGRAMS = libdconf-dbus-1.so.0.0.0$(EXEEXT)
+shlib_PROGRAMS = libdconf-dbus-1.so.${LIBdconf-dbus-1_VERSION}$(EXEEXT)
 subdir = dbus-1
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/m4/gtk-doc.m4 \
@@ -360,9 +360,9 @@ libdconf_dbus_1_so_0_0_0_LDADD = \
 	 $(dbus_LIBS)					\
 	$(glib_LIBS)
 
-libdconf_dbus_1_so_0_0_0_LDFLAGS = -shared -Wl,-soname=libdconf-dbus-1.so.0
+libdconf_dbus_1_so_0_0_0_LDFLAGS = -shared -Wl,-soname=libdconf-dbus-1.so.${LIBdconf-dbus-1_VERSION}
 libdconf_dbus_1_so_0_0_0_SOURCES = dconf-dbus-1.c
-nodist_noinst_DATA = libdconf-dbus-1.so libdconf-dbus-1.so.0
+nodist_noinst_DATA =
 CLEANFILES = libdconf-dbus-1.so.0 libdconf-dbus-1.so
 all: all-am
 
@@ -457,8 +457,8 @@ uninstall-shlibPROGRAMS:
 clean-shlibPROGRAMS:
 	-test -z "$(shlib_PROGRAMS)" || rm -f $(shlib_PROGRAMS)
 
-libdconf-dbus-1.so.0.0.0$(EXEEXT): $(libdconf_dbus_1_so_0_0_0_OBJECTS) $(libdconf_dbus_1_so_0_0_0_DEPENDENCIES) $(EXTRA_libdconf_dbus_1_so_0_0_0_DEPENDENCIES) 
-	@rm -f libdconf-dbus-1.so.0.0.0$(EXEEXT)
+libdconf-dbus-1.so.${LIBdconf-dbus-1_VERSION}$(EXEEXT): $(libdconf_dbus_1_so_0_0_0_OBJECTS) $(libdconf_dbus_1_so_0_0_0_DEPENDENCIES) $(EXTRA_libdconf_dbus_1_so_0_0_0_DEPENDENCIES) 
+	@rm -f libdconf-dbus-1.so.${LIBdconf-dbus-1_VERSION}$(EXEEXT)
 	$(AM_V_CCLD)$(libdconf_dbus_1_so_0_0_0_LINK) $(libdconf_dbus_1_so_0_0_0_OBJECTS) $(libdconf_dbus_1_so_0_0_0_LDADD) $(LIBS)
 
 mostlyclean-compile:
@@ -847,13 +847,6 @@ test-report perf-report full-report:	${TEST_PROGS}
 
 # run tests in cwd as part of make check
 check-local: test-nonrecursive
-
-libdconf-dbus-1.so.0 libdconf-dbus-1.so: libdconf-dbus-1.so.0.0.0
-	$(AM_V_GEN) ln -fs libdconf-dbus-1.so.0.0.0 $@
-
-install-data-hook:
-	ln -fs libdconf-dbus-1.so.0.0.0 $(DESTDIR)$(shlibdir)/libdconf-dbus-1.so.0
-	ln -fs libdconf-dbus-1.so.0.0.0 $(DESTDIR)$(shlibdir)/libdconf-dbus-1.so
 
 uninstall-hook:
 	rm -f $(DESTDIR)$(shlibdir)/libdconf-dbus-1.so.0
